session[:key] = value doesn't work
Posted
by Bill Leeper
on Stack Overflow
See other posts from Stack Overflow
or by Bill Leeper
Published on 2010-06-16T03:32:08Z
Indexed on
2010/06/16
3:42 UTC
Read the original article
Hit count: 144
ruby-on-rails
I am trying to make use of session data in my application and for some reason I don't have something setup right.
The code:
session[:key] = some_value
Generates the following error:
The error occurred while evaluating nil.[]
Other controllers don't have an issue with the session, so I am guessing I missed some basic configuration thing somewhere.
© Stack Overflow or respective owner